Indicates that the AutoIt tray icon will not be shown when the script starts.
#NoTrayIcon
Parameters
None.
Remarks
It is possible to use Opt("TrayIconHide", 1) to remove the AutoIt tray icon but it will still be visible for a second when the script starts. Placing the #NoTrayIcon directive at the top of your script will stop the icon from being shown at startup.
Related
TrayIconHide (Option)
Example
#NoTrayIcon
MsgBox(4096,"Click OK","Show the tray icon for 5 seconds...")
Opt("TrayIconHide", 0) ;un-hide the icon
Sleep(5000)